updated the mkdir to lib from build