functions-crosstool: added commonly used crosstool functions