On the functional central limit theorem via martingale approximation