call altr#define conditionally on altr being loaded