port realpath to windows
ignore .o files
initial work on glob function for windows