Mac fix for norm

**WIP**

test_module=core
build_examples=OFF