Added detection of override to the build system