Fix yat library source to be compatible with the one in install.inc