Fix compilation without makespec