Fix CopyQ on OS X

Fix app and tests on OS X.