configure: Add an option to select a specific printf hook implementation
fix dependency install test script
travis: Add tests for printf hook implementations
test