Ignore all kinds of build directories
Initialize result variable

Thanks clang!