rename getwd to getcwd for POSIX.1 compatibility