The removed parts are not necessary since the compiled module no longer links to the Cantera shared library.