Fixes error when ldd cannot be found.