lb.sh: Fix automatic build target detection