Fix configure with --disable-cxx

Closes #6