correcting source location for shared object