Fixed syntax error and redundant check

Fixed missing function keyword in strlen() function.
Also removed redundant function existence check.
Merge pull request #28 from Parent5446/issue23

Fixed syntax error and redundant check