Added CMAKE_RUNTIME_OUTPUT_DIRECTORY.
Added -Wno-write-strings no CXX flags.
Check for byteswap.h.
Added Git versioning bit.