Remove deprecated ObjectPlacer, fix cmake error