Fix subdir template, build on linux is ok now.