Construction adhesive will also work, but you'll need to wait a couple days before installing the carpet. If it's in the budget, removing any and all dangerously low beams in a basement is a ...