fix build for 1.8.7 and 1.9.2
Merge pull request #96 from frodsan/fix_build

fix build for 1.8.7 and 1.9.2