Port to pconfigure

As the result of this I get (somewhat for free) the ability to build
both Linux and win32 versions of this software!