Minor changes to tool wrappers

* create only the necessary wrappers
* check that the command is available already when creating wrapper
* fix crosscompilation in the sun ld case
adapt more checks to crosstoolchain