refactor templating way for requires_external_bin

- adapt T::MT way
ModuleBuildTiny also support requires_external_bin
add test of requires_external_bin for ModuleBuildTiny