fix checkstyle violation
use relative path for stdlib
fix implementation of compareTo