Fix: Failed to build in Java 5