Use CLFAGS/LDFLAGS to control the build.

This helps with enablding/disabling -g2 debugging mode.