a fork from https://bitbucket.org/lambacck/distutilscross