build: switch to os.path.join instead of os.sep