Add a prebuild hook