Remove unnecessary settings for lib path (assuming spark-submit is used).