Other changes (probably lines 50 to 60) you may have to do consist in removing the coin prefix (e.g. 'coinlapack' -> 'lapack')
Another change is in IPOPT_INC = os.path.join(IPOPT_DIR, 'include/coin/').
You might have to to change it in IPOPT_INC = os.path.join(IPOPT_DIR, 'include/coin-or/')