[cs] handle absolute paths with -net-lib
[java] handle absolute paths with -java-lib