changed Perl makefile so that it will work for other distros