Bug 866239 - Fix build on platforms without profiler after bug 853358 r=bgirard