Visual Studio 2012 build fix.
Ifdef it instead.
Merge pull request #102 from thedax/master

Visual Studio 2012 build fix.