Made -iframework flag support compiler- and Darwin-specific