Debug unit tests build now. Closes #399.