Fixed AliEn installation on Mavericks

Now uses -type compile to link proper libc++ instead of
libstdc++ (required by Mavericks because clang uses by
default libc++ instead of libstdc++).