solves linker issues
Merge pull request #5117 from illi-kun/Fix_for_MS_VS_2012

Fix for MS VS 2012 project