Workaround for bug in GCC on powerpc64. Symbols that are exported are
by fault required to be all "static" or all "extern".