Adapt makefile and import to suit new opencpn plugin system