Make it work on Windows platform vs2012