make it work with clib and std namespaced lib