Proper platform detection for ccalltest