Exclude build directory for IDEA.