Fix syntax error in generate.css.php

Newest php versions seems to be more picky on closing
correctly tags as well as using <?php when appropriate.