Fix compiling SetProprety (still untested)