Fix compilation error in Standalone mode

Closes #773.