Compile template if it cannot be finded as cached template