Make the splinefitter code compilable