std lib adjustable on all versions of OS X