* hack to resolv sdl linking problems for in-tree builds

* see https://bugzilla.libsdl.org/show_bug.cgi?id=2590
* nacl - some more linking problems solved