Removed erroneous size_t
Provide install target.
Allow static build.
Setting CMAKE_BUILD_TYPE must appear before the project command.
Only use /MP with msvc.