Two simple examples: standalone executable and static library