BLD: Made build extensions more flexible
Merge pull request #1709 from ChadFulton/setup

BLD: Made build extensions more flexible