Avoid font loading error on platforms other than mac