Fix for unix compatibility