Ignore build directories.
Added Logan support for friendly use.