Fix when configuring for chai5

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>
Merge pull request #29 from FellowTraveler/master

Fix when configuring for chai5