Adhesive for optical device housing