linux compiler warning fix