Fix error with -sdk-template