adapt to reduced aslam libs