set DYLD_LIBRARY_PATH only on mac.  remove setting code from beaker.command since it is done in java now.