fix cmake of insitu stuff