Optimization -Os only for clang, -O3 for gcc