Fix spec target so that it works from command-line.