Fixed hanging when no .cpp files bug

Fixed bug that caused `ino' to hang when scanning for dependencies of
libraries with only .h files (i.e. no .ino, .c or .cpp files).