make ffstool runnable in macos