(possibly?) fixed osx.
fixed all projects/makefiles to work.