Fix build for ncWMS stand alone

When including all the ncwms modules (for standalone installation) these had to be addressed.