configure: fix inverted `shouldCompile` logic