I tried to add CMake support

To solve the issues with cross-platform compiling and installation I propose to add CMake project files. I have also added some #ifdef to osmpbf-outline.cpp to allow it compile and work on Windows.