Quick hack to get AMD friendly templates