fix compilation with -property flag
Merge pull request #122 from pinver/master

fix compilation with -property flag