Minor fix apm.el

Add "global-vars" for project.