Just built mess and messui at r32478 with standard tools, no problem (non-debug build). Looking at your error message it looks like you have TARGET=MESS instead of TARGET=mess. I believe the name of the target should be in lower case.