Fix compilation on Mac OS (not static binaries supported there)