Build fix for UNIX builds