Add configure output to gitignore.
Revert main.c to original state.