Fix several warnings that were showing up when using the ART run-time.