Rename alloc functions to comply with library name.