Fix directory/YouCompleteMe compilation.