Fix build on Linux.

Closes #47