See Building the Standalone Client.