Fixed library updating with cache enabled
Test against JDK7 instead of JDK6
Instruct OS X to build with JDK7 instead of JDK6