fixes for SDMMobileDevice to compile