Enabled GD TTF support for linux

Enabled GD flags for Linux and added OS specific freetype paths.