Fix error: ‘strlen’ was not declared in this scope

Fix for #2