issue_7 respect multi-arch shared lib policy

Long overdue patch for fixing issue_7 ( based on last master )