sde-build-tools: improve libc detection to support fl_wrapper for musl
fl_wrapper: use the standard `environ` instead of ` __environ`