Fix building relative path for ubuntu