Use a small amount of a (Super Glue) cyano-acrilate type glue. This glue hardens in a few seconds, so you won't need to clamp the nut in place and wait for hours. Another advantage is that it strong enough for this particular job, but is relatively easy to overcome if you decide to replace the nut at some future time.