compilation fixes for 2.065

- overload of findNextUDA is ambiguous

- __traits getFunctionAttributes isn't available
Merge pull request #927 from MartinNowak/2065

compilation fixes for 2.065