Fix _module_registered bug for sparc linux.