[BZ-1013644][BZ-1011420] make internal class loader to work with ibm jvm