#29 JDK 6 build fix
Merge pull request #30 from carlosmiranda/29

#30: pull request #29 JDK 6 build fix