Fix issue with build for modmore distribution