Allow to create a static binary for Linux using -DBUILD_STATIC_BIN=ON