This fixes two issues with symbol visibility that's exposed when linking apparmor_parser.
apparmor_parser