fix Linux building flags