removed call to dirent.h in jp3d