Fixed bug which prevents build in Java 1.6.
Merge pull request #149 from Clashnia/altars

Fixed bug which prevents build in Java 1.6.