Fix build under MinGW

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>