Remove gcc wrapper
Fix various compile errors