fix for memory on osx to support 'unused' #9