Fix VS2012 build
Merge pull request #138 from tribal-tec/vs2012

Fix VS2012 build