Fix compile error
Copy .gitattributes from rt-thread project