Adds a pre-build hook for running preprocessor scripts.