make the specialized versions of max/min unix-only
use default max/min when libm is not available
update travis.yml (remove apt-get upgrade)
Merge branch 'master' into v0.3-wip