added build flags to files for natives to avoid building those packages with gc