Enable package restore on build and update gitignore