Fix unit test compilation failures in BDM server.