Fixed X11 Linking in template makefile.

https://github.com/ivansafrin/Polycode/issues/363