Only execute ctags-lock if executable
Only use Unix shell syntax for xmllint on Unix