Fix error in BUILD_TYPE check to run Coveralls in Travis script.