prepublish makes sure the build folder exists.