do no try to install bsh/js when not building them

Change-Id: Ic1521ad9a67c9930e2e4561eacb1e78905310613