Fixes in LRSpline code for compilation on Windows