fix mirror and env issues in apache-pig-bin