Fixed a bug that generate ast using the wrong argument order in release configuration