fix for make: getcwd: No such file or directory