use "non-standart" template for selector for small size of exe; fix makebat error in LIBS regex