translate path to let cmake or other programs works