Also fixed an incorrect pair of constants in the event tap generation code. Luckily, the two constants resolve to the same integer value, but things would get ugly if either value changed.
Thanks to Peter Van der Beken (peterv@propagandism.org) for the patch.