Ignore files ignored by git when building projects