monkey patch the nexus build