Changed library function calls to have "os_" in front of them