Cheap but effective fix for the multiple definition problem