On OSX, sed -i has a mandatory argument.
Force the Python and Perl libraries to be rebuilt when the WQ library
changes.
On Solaris, there is no sed -i, so just use sed as a pipe.