Replace all defined(linux) to defined(__linux__).  

Issue #36 
Adds COMPILER_FLAGS, allow auto 32bit build tests.
Replace all defined(linux) to defined(__linux__).