fix failed to load dynamic modules.
Merge remote-tracking branch 'vicamo/froyo' into gingerbread
Merge remote-tracking branch 'vicamo/gingerbread'