add '-lgthread-2.0' to CFLAGS because compilation fails for some people