Enabled full GD support for linux

Enabled GD flags for Linux