Ticket 49247 - resolve build issues on debian
Bug Description: Debian shows a number of issues with our makefile due
to a missing nspr link, and incorrect header.
Fix Description: Fix the linking statement, and correct the header
usage.
https://pagure.io/389-ds-base/issue/49247
Author: wibrown
Review by: mreynolds (Thanks!)
cherry-pick from commit e0289b77cc90150fe6cc1a373238ea7cf5066340