exclude nio subproject when using java 5 or 6