Removed --start-group --end-group flags from LDFLAGS for opencv libs.