Add mtask support and throw compilation error when compiling for targets which don't support unicode regex