Disable function attributes on unsupported compilers