Make hooks directory if it's missing.