Can't set target properties if not build.