The latest versions of mbed-cli generate their output in BUILD/ instead of .build/. This commit adds BUILD/ to the list of git ignored directories.