Updated to fit the changes in emake.