restored support for previous sdk versions without build-tools

Signed-off-by: Alexander Yakushev <alex@bytopia.org>