USB CDC-ACM Class Driver on STM32F4
ST recommend to use STM32CubeMX software to start a project.

In This software you can configure your MCU and select which library you want.
Maybe "Communication Host Class(Virtual Port Com)" will suit your needs but if it don't, you can still modify it.

PS: The USB host Stack is already made.