Removed a few Qt/Qwt defines and linker flags