Fixes ASM issues in the core makefiles.