Merge "Restricting the shared lib to java 7"