Now compiles using CMake

Plus:
 * Added string keyboard input for linux
 * Solved shaders problems on some hardware