Updates source recipe to use platform_*_dir attributes