Fixes #79: replaced printf with LOG_CRITICAL
Merge pull request #80 from FinnG/linux-mint-build-fixes

Fixes #79: replaced printf with LOG_CRITICAL