fix shader binary compilation to work with lazy compilation