fixed a couple of advanced compilation issues in the bind tests