Make GCC happy, add CMakeLists for linux.