NSLayoutAttribute casts to fix strict warnings (fix #4)