Renamed PAGE defines to MPAGE so as not to conflict with the android ndk