solve warnings, some multiplatform code