Windows compatibilty patches (rebased to develop)

copy of https://github.com/DennisOSRM/Project-OSRM/pull/979
with `develop` as  base branch.

Supporting only VS2013 and newer is cool with me. We should definitely add a version check to CMakeLists.txt