remove warnings (bad but only way to get compilation on several OSes)