Fixed Paths and compile errors.