Fix compile bug

This fixes a compile but that occurs with -DMONOLITH=OFF