Remove platform dependent check