Update to check for absolute paths based on OS