fix openmp linking errors + patch around DennisOSRM/Project-OSRM#1096