Typhoon Matmo batters Taiwan, five hurt