QmlProfiler: Fix compile on OSX

Change-Id: If875b290dcdd2974a7e28dcc37e068e775a986d7
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>