[aml] Fix compilation

Some builds require AUTOPOINT to be defined