Removed usage of clib functions in alib. strlen() was replaced with a