add methods to compile shared library for interpolator