Restore compatibility with msvc9

Visual Studio 2008 does not support C++11
Merge pull request #9 from cgohlke/patch-1

Restore compatibility with msvc9