Reorganize Qt frameworks layout on Mac 10.9 and 10.10#4149