added linker environment variable, pep8 compliance