also use OPTFLAGS when building target