Make build host dependent
Update config so that the autotools works properly accross platform