Build: add modified index.php script to outdir

To make installing from user specified loations easier, include the
index.php file in the final folder.