Added separate compilation and linking example