fix(kernel/environment): compilation problem on Windows

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(kernel/environment): compilation problem on Windows