Fix osx libsys build.
Fix symbol names.