Making OSGi imports optional.

The OSGi imports for Android, etc. are not required most of the time; they should be marked optional.  Also, the relocated ASM need not be imported at all.