Fix compiling with -property
Merge pull request #13 from jkm/master

Fix compiling with -property