[aml] fixed compile under linux