Configure: Changed OS dependant check to use Autoconf's macro