Switched to CMake, added strict flags