remove macos x gcc warnings