change to build dir first