libint2: moved sanity check and update CPATH