Set extra linker flags in QMAKE_LFLAGS
Add defines directly to DEFINES instead of appending them to QMAKE_CFLAGS
Formatting cleanups of the resulting .pro file