Replace classes files with headers and .o files