CMakelists.txt: no debug info on release build; TUNInterface: factory method and exception removal