removed checking malloc.h (solve pb in osx)