make pointer types BOOL/bool compatible