Added -O2 compilation flag. Without it we crashes on macosx EXC_ARITHMETIC in a g_malloc in sound init.