configure: fix handling of missing compiler

Closes #58.