Oops, maybe your SDL2 version has a different behaviour than mine :/
Did you tried the static binary? ./chimp_test.static
This one should include the SDL2 that I'm using.