for mac:  cleanup.  use sudo as little as possible.  dont set/use LD_LIBRARY_PATH.  fix for libopenjpeg having a "main" taking precedence over the mplayer exe "main" (!!)