Fix escaping of quotes in ad build process