fix CFLAGS_PHPDBGS and some formatting