rework sample to use STI build type

I think we should parametrize this at some point ;-)