Without this the dynamic library test was failing as it was calling _Jv_RegisterClasses multiple times.