create build dir first