Changed './dir' to 'dir' for cleanliness
Added #include <libgen.h> for basename()
Added 'printf("%s compiled on %s at %s\n",basename(__FILE__), __DATE__, __TIME__);' to -V option
Add portability macros to sniff the OS