Restore compile_all_module because still used in swig