Support java7 and java8 in the same buildpack