better error messages for literal_pointer_val in ccall
cleanup some elements of static compile, based on Jeff's comments. Also
partially address some minor issues with getopt usage miscounting the arguments