fixing dynamic loading of awt (libmawt.so)