Adjust cmake order so that we hopefully avoid issues with sensable hdapi