Add pre-build event