Delete build files and ignore them correctly