generic function to install binaries, including alex

Fixes #9