Fixed build errors in the unit test target.