fix linux compiler problems