Fix "warning: binary constants are a GCC extension".

Change the binary constants to hex.
Merge pull request #19 from reixd/master

Fix "warning: binary constants are a GCC extension".