Build fix that should (hopefully) fix log4cpp target issues in both VS projects and Unix makefiles.