fixed unix builds, hopefully