made bin/crash posix compatible