- changed required for compiling and running on mac osx.