Fixed generation of vc++ lib names one more time and the way how hwloc is included to linking so that it works in windows and *nix