OS X Mavericks cleanup. Fix a swap calculation.