- add a fixed value for bprogdir (the dir of bprogname), since it was being used for resource lookups.