gcc/clang compatibility fix (lvalue cast)
gcc/clang compatibility fix (lvalue cast)

be more strict, dont allow lvalue casts (clang default, gcc does allow it)

breznak/nupic,breznak/nupic,breznak/nupic