Replace %as with %ms

%as does not work on all compilers.