Fix issue krakjoe/phpdbg#122 (segfault in helpaliases)
Maybe-fix for krakjoe/phpdbg#120, fixed remote on darwin
Fix some compiler warnings