going back to the legacy build flags since drone.io didn't like the pkg-config