What else is in your command line? It sounds like either you didnt tell ag where to find the lame file, or your command line was wrong. Mine looks like this:
%s %d --r3mix

Yours should be somthing along the lines of:

%s %d --alt-preset standard

Sean