Updated to support MUSL better