Remove build directory and update .gitignore file