fix a bug in perl dockerfile compile script