Fixed 'missing java.lang classes' problem

Checks current ClassLoader for Class before throwing ClassNotFoundException.