Fixing pre-build event error