tools: fix opticharger and squisher code. Now builds and optimizes.