fix for nonlinux systems