Fixed build script for overrides