Enable compilation in non linux environments Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>