Fix font loading bug on linux