bugfix: keyboard hook not working properly

Project property "Prefer32Bit" prevents global keyboad hook from working
if not set to 'false'.