Allow compilation of empty string

Fixes #461