Fix compilation on OSX

Signed-off-by: Rob Caelers <rob.caelers@gmail.com>
erge branch 'topic_cloud_sync' of github.com:rcaelers/workrave into topic_cloud_sync