added strict c89 flags
fixed cuda flags issue