Build templates asynchronously