targets/audio: Move automake conversion function to prepare file.

No modification in the code.
prepare: convert_automake: Better use of flags.