Fix .gitignore
Fix brew bash-completion
setup ARCHFLAGS for postgres compilation