Fix compiling with -property