Do not rely on an installed bytes package for running tests

Currently, `cabal install bytes --enable-tests` fails unless you've previously installed the same version of `bytes`. This patch fixes that by:

1. Removing the `-package=` option including `bytes` for doctest.
2. Manually include the generated object file.