Proper fix for -stdlib to distinguish osx and linux.