Changes for using shared version of OpenRPT

This adapts csvimp to use QMAKE_LIBDIR and use the shared library version of OpenRPT when required.