Added support for building executables and gcc/clang.
Need: build libraries, more compiler tests; fix clang options.