fixed Linux compilation