Work around compiler restriction

Closes #47.