Fix attribute for gcc