clean up PIC in pre-boot
at least make sure the code compiles before commiting