fixing compilation without a makespec