[feature][build] Alternate allocator functiomns

This closes #32.