Set font size according to platform, use more readable logic for PATH stuff