Fix BOL api for changed z_stdlib function