changed switch/case to given/when
put in missing use feature qw(switch); thanks to Botje on #perl
fixed up compile errors, incorrectly using Smart::Match any()
fixed hard coded locale directory to check for local directory if its
not found.
fixed use of Smart::Match any thanks to spacebat
fixed Makefile.in to use install <source> <targetdir>/ instead of <source>
-t <targetdir>
merged master