Fix compilation with C++03 compilers.

Fix compilation with C++03 compilers (e.g. gcc 4.2.1).
Merge pull request #29 from Lastique/patch-1

Fix compilation with C++03 compilers.