Allow compiling on Visual Studio 2012 and earlier.
Merge pull request #186 from ryancu7/master

Allow compiling on Visual Studio 2012 and earlier.