fix TOLUA++ detection and linking