change complierflags & fix includes