Prepare for using CMAKE (variables are now @VAR@ instead of @VAR)