Fixed function exporting that got destroyed by shellshock fixes