fix return code when precompiling headers