Support OS X for calculating memory usage
Ensure build_user_and_associate_manually! does the correct thing

This changes build_user_and_associate_manually! to create associated
records just like build_associated_user! does.