Throw an error if configure() is called with unrecognised options.