fix broken compilation process caused by glob