Switch from readBitcode to buildModule

The former was removed