Make sure build directory exists.