Fixed an error in the IDE linux Makefile 

I was adding -lX11 to SRCS instead of LDFLAGS