Ignore dist
Ignore tmp
Fix compile error, clean up