Output regular header for multiple targets + fix exported varying types.