Added rule to gitignore
Fixed compile issue