Fixed missing returns in Linux specific code