art: Fix building under JDK7

Change-Id: Ie98cdab039c2213fa77e7768e145c08a4fd7ad7b