Fixing a bug where libs path was not taking when classpath is specified