Removed generated file and updated .gitignore
Fixed compiler errors in portable build