Replaced --clib flag with --portable and --dynamic.
Removed all c api stuff from test.d

There is no separate c api any more because direct api
is usable from c now.