trying to fix unix compile