qtmacextras: fix build for Mac OS X 10.6