Fix join association on Active Record 4.1.x

Update the overridden `build_constraint` method to match changes made in Active Record 4.1.0.

Fixes issue #188, "Join association broken on Active Record 4.1.x".