addresses issue #137 (compile does not work with files in subdirectories)