Add linux platform code