Fixup classlibs build on osx.
Remove unused.
Fixup osx runtime build.