Support TOOLNAME and USEDLIBS options for easier tool building