fix trivial compiler error and vs2010 reswig
only refuse loopback endoint not profiles named loopback