Add DYLIBOUT, change compiler to Clang/Clang++, and use -Os instead of -O2.