Code says a minimum of 15" either side of the toilet centerline - a minimum of a 30" wide space... I don't remember the minimum distance in front. This may mean you want either two exhaust fans or a remote fan with multiple inlets. Personally, it doesn't bother me and cleaning a small, often dark room with a toilet can be a pain. A window in there can help.