Make executing post_install depend on $OSTYPE