cmake: don't build unnecessary stuff from contrib