Fix/test build failure when Vim does not exit