Issue #132: fix a typo, check compile first