Use SetParent (more portable)

Was using the old SetWindowLong which allows you to adjust all sorts of
things, but there is a sepcial one for changing a window parent, and it
works in both x64 and x32. Tested in x32 to make sure basic plotting,
etc., still works.
perl regex build against x64 and x32

This change basically no longer forces the particular architecture, and
rather, lets the envronment decide which is best. Tested with root in 32
bit, builds, at least, for 64 bit.