implemented relative paths for prototype definitions