Fixed an error in the IDE linux Makefile

I was adding -lX11 to SRCS instead of LDFLAGS
Merge pull request #343 from CIB/master

Fixed an error in the IDE linux Makefile