Fix ldmd for LLVM 3.4

The Path::canExecute() method is gone. As a first fix just copy the source.