OS X: no malloc.h
OS X: clang does not accept nested function definitions
OS X: update tested distributions in README