wmaker: Replaced local declaration of system function by proper header call