Fixes for in-program font rendering on linux