Second attempt to stub-out binary dependencies when building documentation.