Switched to single export() function per platform