Fixes serial defines (for real)