Miscellaneous changes

- added requirements.txt file for 'pip install'
- allow variable specifications (CC, CXX) as arguments to Preflight script