client_example: better error checking
old-makefile: add client_example, separate player C main function

Not sure how to do that with waf (especially in a way client_example and
the real player share the player code), so I'm not doing that.
half-working library build

Requires --disable-asm on x86 32 bit.