fix cmake working dirs