Added more friendly error message in simple compilation in case of
wrong assembly references.