If you consider homebrew, have you thought about MacPorts as well? All dependencies necessary for TW are already present as ports on MacPorts, so it shouldn't be too complicated get TW sucessfully to build.