Added OS type detection (using Q_OS_* macros only)