fix for unix-build