Add beadm to build.