Fix core swig module.