gitignore: lib folder
CMakeLists: added platform specific setups