Fix build failure introduced by 3ee6f28

Fixes #270
Merge pull request #271 from nagisa/270

Fix build failure introduced by 3ee6f28