Compatibility fix for Foundation 5. Fixes #4.

Underlying issue: https://github.com/zurb/foundation/issues/3963