Trying to change dir before compilation