Use deprecated method to query extensions if new one is not supported
Remove unused HANDLE_IS_POINTER define