Support compiler extensions/flags such as gcc9+py3
Note that with this change the best
resolution would prefer no extension. If there are multiple platforms with a compiler extension, the one with the highest lexicographic rank wins.
Fixes #34 (closed)