Wrap Linux GD code in NANO_USING_GD to avoid warnings
Added errno.h for Linux