Linux Makefiles/Build System and Clang Compatibility

Fixed several -Wunused-value warnings from Clang.

Added Linux makefiles/build system.