Detect operating system, set QT_CONFIG and LINUX accordingly