Make fpm check platform independent.