[PLAT-3579] add some backwards compatibility to build_classpath