Make namespace aliasing check compatible with 5.6. Fixes #8