Compact ignore of all build directories

This patch replaces multiple ignore patterns for build directories with
one which matches all.