Updated cmake to allow custom install directory

Added build folder to gitignore, and allowed user to specify an install
directory.