Fixed mac build. Sample still broken