Include more compiler flags in CRC field
Avoid leading/trailing dashes in derived builddir names