fixed warnings from Linux compilation