Added an option to disable building unit tests.
Apparently, mac doesn't need to calculate frame sizes.  Removed some unnecessary calculations.