add support for LDFLAGS and CXXFLAGS
add support for running the service as non-root
Merge pull request #7 from mortya/master

LDFLAGS, CXXFLAGS, and running service as non-root