Fix option parsing in the gold plugin.