mach2 lib+template loading