Fixed compile errors. MSTest sitll doesn't work.