Minor tidy up

Caught missing #ifdef from looking at diff files to base dll