Update config and fix compilation script