Fixed bug in test build

I was still using the release flags within the test build. This change
corrects that problem.