add more windows compatibility definitions