Move generate-privdefs.php to scripts dir