_countof is only included in CE6; for CE5 we need to define it ourself
Created attachment 32817 [details] patch to Platform.h
Landed with r45972.