fix compile break due to args mismatch

This fixes a build break on linux when strict compile flags are turned on.