include unistd only on Q_OS_LINUX
swithc from elif to elsif
Merge pull request #3688 from birarda/verbose-log-silencer

include unistd only on Q_OS_LINUX