Simplify the compiler options

Also tweak perl skeleton files