replace bit literal constants with equivalent integers

* replaced the GCC compiler specific extension bit literals with C standard integers
* allows GCC < v4.3 to compile the code
* NOTE: the replacements preserve context/meaning by using shift operators
* resolves #372

This was my solution for replacing the bit literals.