adjust crlf handling in git, use jdk7 on mac