small build fixes

Some small tweaks I've been needing to be able to build the project.
I think we should skip this test instead if sqlite isn't available:
https://github.com/qandidate-labs/broadway/blob/3fb5f3d323f6c5d807e5b926c1da9f5b2abc956c/test/Broadway/EventStore/DBALEventStoreTest.php