Update buildfile and gitignore