Some more qbs work

Generated sources are put in Generated/ folder
as this seems to work better. clang support for
linux added (needs pthread explicitly added).