Revert "Revert "rework use of openrpt shared libs""

Reverts xtuple/qt-client#467
this means it always builds a dll - you no longer need to build the static lib for Windows?