Fix global static initialization order fiasco