ensure that ht-amap is defined before we use it. Fixes #3
remove runtime dependency on `cl`