Fixed minir appia realted compilation issue (to fix when merge with
appia branch).