Fix compile flags order (-lX11 moved to the end)
Merge remote-tracking branch 'nrgaway/debian' into debian
Merge branch 'debian' of https://github.com/nrgaway/core-agent-linux into debian