Use CFCrossPlatform to make the code adaptable to Windows too.