Changes for Linux compat.